//
//  MeCallViewController.m
//  DBAChain
//
//  Created by Mxionlly on 2018/9/16.
//  Copyright © 2018年 Evan. All rights reserved.
//

#import "MeCallViewController.h"

@interface MeCallViewController ()
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *layoutToHead;

@end

@implementation MeCallViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.title =@"联系我们";
}

-(void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    [self setBlackStatus:YES];
}

- (IBAction)copyAction:(id)sender {
    UIPasteboard *Pasteboard = [UIPasteboard generalPasteboard];
    [Pasteboard setString:@"http://t.me/channeldba.cn"];
    if (Pasteboard == nil) {
        [DKProgressHUD showErrorWithStatus:@"复制失败"];
    }else{
        [DKProgressHUD showSuccessWithStatus:@"复制成功"];
    }
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
